package com.example.lifecycle.di;

import android.app.Application;
import android.content.Context;

import com.example.lifecycle.MainActivity;
import com.example.lifecycle.base.BaseActivity;
import com.example.lifecycle.di.app.AppConfigModule;
import com.example.lifecycle.utils.ToastUtils;

import javax.inject.Singleton;

import dagger.Component;

@Singleton
@Component(modules = {AppConfigModule.class})
public interface AppComponent {
    ToastUtils getToastUtil();

    Context getContext();

}
